from django.conf.urls import patterns, url
from django.views.generic import DetailView, ListView
from clients.models import Client
urlpatterns = patterns('',
    url(r'^$',
        ListView.as_view(
            queryset=Client.objects.all(),
            context_object_name='latest_list',
            template_name='clients/index.html')),
)